<script>

	import {getUserInfo} from "./cookie";

  export default {
		onLaunch: async function() {

    /*  if( getUserInfo() && getUserInfo().isPay === '2' ){
        console.log('4')
        uni.setTabBarItem({
          index:0,
          text:"权益",
          pagePath:"/pages/index/index2"
        })
        uni.switchTab({
          url:'/pages/index/index2'
        })
      }*/
		},
		onShow: async function() {
			// console.log('App Show')
		},
		onHide: function() {
			// console.log('App Hide')
		}
	}
</script>

<style lang="scss">
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
@import "uview-ui/index.scss";
@import "~@/static/colorui/main.css";
@import "~@/static/colorui/icon.css";
</style>
